/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.sbbs.log4j2;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 *
 * @author Administrator
 */
public class Bar {

    static final Logger logger = LogManager.getLogger(Bar.class.getName());

    public boolean doIt() {
        logger.traceEntry();
        logger.trace("trace:Did it again!");
        logger.debug("debug:Did it again!");
        logger.info("info:Did it again!");
        logger.warn("warn:Did it again!");
        logger.error("error:Did it again!");
        logger.fatal("fatal:Did it again!");
        return logger.traceExit(false);
    }
}
